package com.hiultra.archive.device.shelve;

import org.springframework.context.ApplicationEvent;

public class ShelveInfoEvent extends ApplicationEvent {
    private String ip;
    private ShelveInfo shelveInfo;

    public ShelveInfoEvent(Object source,String ip,ShelveInfo shelveInfo) {
        super(source);
        this.ip = ip;
        this.shelveInfo = shelveInfo;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public ShelveInfo getShelveInfo() {
        return shelveInfo;
    }

    public void setShelveInfo(ShelveInfo shelveInfo) {
        this.shelveInfo = shelveInfo;
    }
}

